package com.dvg.http;

public class UrlParameter {
	private String key;
	private String value;
	
	public UrlParameter(){
		this.key = "";
		this.value = "";
	}
	
	public UrlParameter(String key, String value){
		this.key = key;
		this.value = value;
	}
	
	public String toString() {
		if ((null != key && !key.equals("")) && null != value)
			return key + "=" + value;
		return "";
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}
